/* SBS Stereoscope Nodes CSS */

/* Style for ComfyUI node widgets */
.comfy-modal-content {
    max-width: 90%;
}

/* Improve the appearance of image widgets */
.comfy-widget-image {
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin: 5px 0;
    max-width: 100%;
    object-fit: contain;
}

/* Style for text widgets */
.comfy-widget-text {
    font-family: monospace;
    background-color: #333;
    color: #eee;
    padding: 5px;
    border-radius: 4px;
    margin: 5px 0;
    white-space: pre-wrap;
    font-size: 12px;
}

/* Style for button widgets */
.comfy-widget-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px 0;
    transition: background-color 0.2s;
}

.comfy-widget-button:hover {
    background-color: #2980b9;
}

/* Style for the node title */
.comfy-node-title {
    font-weight: bold;
    color: #3498db;
}

/* Style for the node body */
.comfy-node-body {
    padding: 10px;
}

/* Style for the preview container */
.comfy-preview-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

/* Style for the preview image */
.comfy-preview-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #222;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Style for the info text */
.comfy-info-text {
    font-family: monospace;
    background-color: #333;
    color: #eee;
    padding: 5px;
    border-radius: 4px;
    margin-top: 5px;
    width: 100%;
    white-space: pre-wrap;
    font-size: 12px;
}